/*
 * Name: Joon Ho Cho
 * Date: 10/24/2008
 * Course: 15-437
 */
package scheduler.model;

import org.mybeans.dao.DAOException;

import scheduler.databean.Schedule;

public interface ScheduleDao {
    public Schedule[] getAll() throws DAOException;
    public Schedule[] getSchedule(String userName, int scheduleNum) throws DAOException;
    public Schedule create() throws DAOException;
    public Schedule create(String userName, int ScheduleNum, int courseId, String sectionName, int year, String semester) throws DAOException;
    public Schedule lookup(int id) throws DAOException;
    public Schedule[] CheckAdded(String userID, int scheduleNumber, int courseID) throws DAOException;
    public void changeSection(int id, String section) throws DAOException;
    public void delete(int id) throws DAOException;
   
}
